﻿set(TARGET_NAME RequestPair)

if(BLUETOOTH_CPP_STATIC)
add_compile_definitions(BLUETOOTH_CPP_STATIC)
endif(BLUETOOTH_CPP_STATIC)
add_executable(${TARGET_NAME}
 "main.cpp"
)

if(BLUETOOTH_CPP_STATIC)
 target_link_libraries(${TARGET_NAME} PUBLIC BluetoothCpp ws2_32 Bthprops)
else(BLUETOOTH_CPP_STATIC)
 target_link_libraries(${TARGET_NAME} PUBLIC BluetoothCpp)
endif(BLUETOOTH_CPP_STATIC)

install(TARGETS ${TARGET_NAME}
    CONFIGURATIONS Debug
    RUNTIME DESTINATION ${INSTALL_BINDIR}/Debug
)
install(TARGETS ${TARGET_NAME}
    CONFIGURATIONS Release
    ${INSTALL_BINDIR}/Release
)
